package com.lottery.utils;

import com.lottery.dto.Changlong;

import java.util.Comparator;

public class ChanglongComparator implements Comparator<Changlong> {

    @Override
    public int compare(Changlong o1, Changlong o2) {
        return (o2.getContinueNumber() - o1.getContinueNumber());
    }
}
